package com.maixy.studyonlineapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maixy.studyonlineapi.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Classname UserMapper
 * @Description TODO
 * @Date 2020/11/1 17:10
 * @Author by maixy
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> getUserList(@Param("nickNameSearch") String nickNameSearch, @Param("beginIndex") Integer beginIndex,
                                   @Param("pageSize") Integer pageSize);
}
